<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Hello World</title>
  <script src="../asset/js/vue.js"></script>
</head>

<body>
  <div id="app">{{content}}</div>
  <script>
    /* let dom = document.getElementById('app')
                    dom.innerHTML = 'Hello World' */
    let app = new Vue({
      el: '#app',
      data: {
        content: 'Hello World'
      }
    })
    setTimeout(function () {
      app.$data.content = 'bye world'
    }, 2000)
  </script>
</body>

</html>